package com.FQJ.stock;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
@MapperScan("com.FQJ.stock.mapper")//扫描持久层mapper接口，生成代理对象，并维护到spring的ioc容器中
@Slf4j
public class BackendApp {
	public static void main(String[] args) {
		SpringApplication.run(BackendApp.class,args);
		log.info("项目启动成功");
	}
}
